---
import BaseHead from "../components/BaseHead.astro";
import Header from "../components/Header.astro";
import Footer from "../components/Footer.astro";

export interface Props {
  content: {
    title: string;
    description: string;
    heading: string;
  };
}

const {
  content: { title, description, heading },
} = Astro.props;
---

<html lang="en">
  <head>
    <BaseHead title={title} description={description} />
  </head>

  <body>
    <Header />
    <main class="faq">
      <h1 class="pb-6">{heading}</h1>
      <slot />
    </main>
    <Footer />
  </body>
</html>
